package cn.sykj.car.service;

import cn.sykj.car.entity.CarStore;
import cn.sykj.car.vo.CarStoreVO;
import cn.sykj.car.vo.ResponseMessageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 门店信息 服务类
 * </p>
 *
 * @author xuming
 * @since 2021-06-17
 */
public interface ICarStoreService extends IService<CarStore> {

    /**
     * 添加店铺
     * @param carStore
     * @param
     * @return
     * @throws Exception
     */
    public ResponseMessageVO addCarStore(CarStore carStore)throws Exception;

    /**
     * 修改门店信息
     * @param carStore
     * @param
     * @return
     * @throws Exception
     */
    public ResponseMessageVO updateCarStore(CarStore carStore)throws Exception;

    /**
     * 删除门店信息
     * @param id
     * @param
     * @return
     * @throws Exception
     */
    public  ResponseMessageVO delete(Integer id) throws Exception;

    /**
     * 门店信息查询
     * @param carStoreVO
     * @param
     * @return
     * @throws Exception
     */
    public IPage<CarStoreVO> pageCarStore(IPage<CarStoreVO> page, CarStoreVO carStoreVO);

    /**
     * 审核门店信息
     * @param carStoreVO
     * @param
     * @return
     * @throws Exception
     */
    public ResponseMessageVO checkCarStore(CarStoreVO carStoreVO) throws Exception;

    /**
     * 导出门店信息
     *
     * @param
     * @return
     * @throws Exception
     */
    List<CarStoreVO> exportCarStore(CarStoreVO carStoreVO);
}
